package {{basePackage}};

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
{{#eurekaUri}}
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
{{/eurekaUri}}
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * starts the spring boot application
 * @author pkmst
 *
 */

@SpringBootApplication
@EnableSwagger2
{{#eurekaUri}}
@EnableEurekaClient
{{/eurekaUri}}
public class {{serviceName}}Application {

  private static final Logger LOGGER = LoggerFactory.getLogger({{serviceName}}Application.class);

  public static void main(String[] args) {
    LOGGER.debug("Running spring boot application");
    SpringApplication.run({{serviceName}}Application.class, args);
  }
}
